PgDAC

TDATransaction Members

TDATransaction class overview.

Properties

Name Description

Active

Used to determine if the transaction is active.

DefaultCloseAction

Used to specify the transaction behaviour when it is destroyed while being active, or when one of its connections is closed with the active transaction.

Methods

Name Description

Commit

Commits the current transaction.

Rollback

Discards all modifications of data associated with the current transaction and ends the transaction.

StartTransaction

Begins a new transaction.

Events

Name Description

OnCommit

Occurs after the transaction has been successfully committed.

OnCommitRetaining

Occurs after CommitRetaining has been executed.

OnError

Used to process errors that occur during executing a transaction.

OnRollback

Occurs after the transaction has been successfully rolled back.

OnRollbackRetaining

Occurs after RollbackRetaining has been executed.
© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback